PDF4Java Reference Documentation
com.o2sol.pdf4java.forms Package / PDFFieldWidget Class / flatten Method
The structure element that is associated with the annotation appearance.
In This Topic
    flatten Method
    In This Topic
    Merges the annotation appearance with the page content stream and sets the result as content item for the given structure element.
    The widget normal appearance is merged with the page content stream and the widget is destroyed. After calling this method the widget object is in an invalid state and cannot be used any longer.
    Syntax
    public void flatten( 
       PDFStructureElement structureElement
    )

    Parameters

    structureElement
    The structure element that is associated with the annotation appearance.
    See Also